
<div class='col-lg-10 col-lg-offset-1 bg-white m-t'>
    <p>Hi <?php echo $account['MemberAccount']['Member']['first_name'] . ' ' . $account['MemberAccount']['Member']['last_name']; ?></p>
    
    <p>
        You have been granted access to manage the <b><?php echo $account['Organisation']['name']; ?></b> organisation account as an <b><?php echo $account['OrganisationRole']['name']; ?></b>.
    </p>
    
    <p>
        Click the link the below to activate your account.
    </p>
    
    <p>
        <?php 
        $organisation_id = $account['OrganisationAccount']['organisation_id'];
        $username = $account['MemberAccount']['username'];
        $hash = sha1($account['OrganisationAccount']['organisation_id'] . $account['MemberAccount']['username'] . $account['MemberAccount']['Member']['first_name']);
        $url = "http://app.memberz.org/organisation/account_activate/$organisation_id/$username/$hash";
        ?>
        
        <a href='<?php echo $url; ?>' target="_blank" class="btn btn-success btn-large">
            Verify & Activate Account
        </a>
    </p>

    
    <p>
        Sincerely, <br />
        The Memberz Team <br />
    </p>
    
    <p>
        If you have questions or need help, please <a href='mailto:support@memberz.org'>contact us</a>
    </p>
</div>